package org.fms.web.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.fms.web.model.User;

@Mapper
public interface UserMapper {


    int insert(User user);

    List<User> selectAll();

    User getUserByName(@Param("username") String username, @Param("password") String password);

    User getUserByUsername(String username);
}
